package com.android.gardensnake;

import android.os.Bundle;
import android.app.Activity;
import android.database.SQLException;
import android.view.Menu;
import android.widget.TextView;

public class SQLView extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) throws SQLException {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.sqlview);
        TextView tv = (TextView)findViewById(R.id.tvSQLInfo);
        DbManager info = new DbManager(this);
        info.open();
        String data = info.getData();
        info.close();
        tv.setText(data);
    }
}
